package kr.co.shoppingmall.member;

public class MemberServiceImpl implements MemberService {
	private MemberDAO memberDAO;
	public void setMemberDAO(MemberDAO memberDAO) {
		this.memberDAO = memberDAO;
	}
	@Override
	public void insertMember(MemberDTO dto) {
		memberDAO.insertMember(dto);
	}
	@Override
	public int getLoginCheck(MemberDTO dto) {
		return memberDAO.getLoginCheck(dto);
	}
	@Override
	public MemberDTO getMember(String id) {
		return memberDAO.getMember(id);
	}
	@Override
	public void updateMember(MemberDTO dto) {
		memberDAO.updateMember(dto);
	}
	@Override
	public void deleteMember(MemberDTO dto) {
		memberDAO.deleteMember(dto);
	}
}	
